package lesson1;

public class MyRunnable implements Runnable{

    @Override
    public void run() {
        System.out.println("MyRunnable execute...");
    }

    public static void main(String[] args) {
        MyRunnable myRunnable = new MyRunnable();
        new Thread(myRunnable).run();
    }
}
